﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Intrinsics.X86;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 库龄报表
    /// </summary>
    /// 

    public class Rep_StockAgeDTO
    {
        public int total { get; set; }
        public bool success { get; set; }
        public List<Rep_StockAge> rows { get; set; }

    }

    public class Rep_StockAge
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// RowId
        /// </summary>
        public string RowId { get; set; }


        /// <summary>
        /// 产品编号
        /// </summary>
        public string productNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string productName { get; set; }
        /// <summary>
        /// 会记科目
        /// </summary>
        public string accountingSubject { get; set; }
        /// <summary>
        /// 会计类型
        /// </summary>
        public string accountingType { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string qty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string unitPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string amount { get; set; }
        /// <summary>
        /// 小于90天数量
        /// </summary>
        public string qtyLessThan90 { get; set; }
        /// <summary>
        /// 小于90天金额
        /// </summary>
        public string amountLessThan90 { get; set; }
        /// <summary>
        /// 91-180天数量
        /// </summary>
        public string qtybetween91To180 { get; set; }
        /// <summary>
        /// 91-180天金额
        /// </summary>
        public string amountbetween91To180 { get; set; }
        /// <summary>
        /// 181-365天数量
        /// </summary>
        public string qtybetween181To365 { get; set; }
        /// <summary>
        /// 181-365天金额
        /// </summary>
        public string amountbetween181To365 { get; set; }
        /// <summary>
        /// 366-545天数量
        /// </summary>
        public string qtybetween366To545 { get; set; }
        /// <summary>
        /// 366-545天金额
        /// </summary>
        public string amountbetween366To545 { get; set; }
        /// <summary>
        /// 546-730天数量
        /// </summary>
        public string qtybetween546To730 { get; set; }
        /// <summary>
        /// 546-730天金额
        /// </summary>
        public string amountbetween546To730 { get; set; }
        /// <summary>
        /// 大于730天数量
        /// </summary>
        public string qtyGreaterThan730 { get; set; }
        /// <summary>
        /// 大于730天金额
        /// </summary>
        public string amountGreaterThan730 { get; set; }


    }
}
